if (index == null)
	list.add(object);
else {
	Integer ix = Integer.valueOf(index);
	
	if(ix > list.size()+1)
		throw new SimpleException("Index is out of range !!! ");
	
	println "list index : " + (ix-1);
	list.add(ix - 1, object);
}